package me.zhengjie.modules.workorder.service.dto;

import lombok.Data;
import me.zhengjie.annotation.Query;
import java.util.List;

/**
* @author zcw
* @date 2019-08-13
*/
@Data
public class TWorkOrderQueryCriteria{

    // 模糊
    @Query(type = Query.Type.INNER_LIKE)
    private String orderCode;

    // 模糊
    @Query(type = Query.Type.INNER_LIKE)
    private String taskAddr;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private Integer status;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private Long supplier;

    // 模糊
    @Query(type = Query.Type.INNER_LIKE)
    private String supplierName;

    // 模糊
    @Query(type = Query.Type.INNER_LIKE)
    private String customerName;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private String country;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private String province;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private String city;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private String county;

    // 精确
    @Query(type=Query.Type.EQUAL)
    private Long customerId;
    
    // 精确
    @Query(type=Query.Type.EQUAL)
    private Integer orderSource;

    private String finishTimeBegin;

    private String finishTimeEnd;

    //状态,根据区间来获取
    private Integer statusEx;
}